<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
          
       <script>
        function  toUpperCase(str){
           
                 return toUpperCase(str);
             }

         function  toLowerCase(str)
         {
             return toLowerCase(str);
         }
         var str1 = "原字符串为:www.jb51DS";
         document.write(str1)
         document.write(toUpperCase(str1))
         document.write(toLowerCase(str1))
       </script> 
</body>
</html>